import * as ActionTypes from './ActionTypes';


// []

const reducer = (state=[],action)=>{
    switch (action.type) {
        case ActionTypes.WEB_NEWSLIST:
            return [
                ...state,
                {
                    type:action.type,
                    text:action.text,
                }
            ];
        default:
            return state;

    }
}
export default reducer
